package top.whysu.rongcloud.api.dto.messages.groups;

import java.util.List;

/**
 * 成功退出群组的data，详见https://www.rongcloud.cn/docs/message_architecture.html#group_notification_message
 * {
 "operatorUserId":"4324",
 "operation":"Quit",
 "data":"{
 "operatorNickname":"李天",
 "targetUserIds":["wGPkc0VpO"],
 "targetUserDisplayNames":["腾飞"],
 "newCreatorId":"newCreatorId"
 }",
 "message":"退出群组",
 "extra":""
 }
 */
public class GroupsQuit {
    private String operatorNickname = "";
    private List<String> targetUserIds = null;
    private List<String> targetUserDisplayNames = null;
    private String newCreatorId = "";
    private String targetGroupId = "";

    public GroupsQuit(String operatorNickname, List<String> targetUserIds, List<String> targetUserDisplayNames, String newCreatorId, String targetGroupId) {
        this.operatorNickname = operatorNickname;
        this.targetUserIds = targetUserIds;
        this.targetUserDisplayNames = targetUserDisplayNames;
        this.newCreatorId = newCreatorId;
        this.targetGroupId = targetGroupId;
    }

    public String getOperatorNickname() {
        return operatorNickname;
    }

    public void setOperatorNickname(String operatorNickname) {
        this.operatorNickname = operatorNickname;
    }

    public List<String> getTargetUserIds() {
        return targetUserIds;
    }

    public void setTargetUserIds(List<String> targetUserIds) {
        this.targetUserIds = targetUserIds;
    }

    public List<String> getTargetUserDisplayNames() {
        return targetUserDisplayNames;
    }

    public void setTargetUserDisplayNames(List<String> targetUserDisplayNames) {
        this.targetUserDisplayNames = targetUserDisplayNames;
    }

    public String getNewCreatorId() {
        return newCreatorId;
    }

    public void setNewCreatorId(String newCreatorId) {
        this.newCreatorId = newCreatorId;
    }

    public String getTargetGroupId() {
        return targetGroupId;
    }

    public void setTargetGroupId(String targetGroupId) {
        this.targetGroupId = targetGroupId;
    }
}
